import request from "@/utils/request"

export const getSupplierPageApi = ()=>request.get('/supplier/list')

export const addSupplierApi = (data)=>request.post('/supplier',data)

export const updateSupplierApi = (data)=>request.put('/supplier',data)

export const deleteSupplierApi = (id)=>request.delete(`/supplier/${id}`)